
/**
 * 判断平台
 * @returns 
 */
const getPlatform = () => {
  let platform = ''
  // #ifdef H5
  platform = "H5"
  // #endif

  // #ifdef MP-WEIXIN
  platform = "MP_WEIXIN"
  // #endif

 return platform
}



export default {
  isDevelopment: process.env.NODE_ENV === 'development',
  isProduction: process.env.NODE_ENV === 'production',
  platform:getPlatform(),
  isAndroid:uni.getSystemInfoSync().platform==='android',
  isIos:uni.getSystemInfoSync().platform==='ios',
  isDevtools:uni.getSystemInfoSync().platform==='devtools',



}

